<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2023/11/20
  Time: 16:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>订单信息</title>
</head>
<body>
<h1>订单信息</h1>
<form action="${pageContext.request.contextPath}/orderInfo" method="post">
  <table>
    <tr>
      <td>
        订单Id：<input type="text" name="id" value="1">
      </td>
    </tr>
    <tr>
      <td>
        商品Id：<input type="text" name="productInfo[生鲜].id" value="1">
      </td>
      <td>
        商品名称：<input type="text" name="productInfo['生鲜'].name" value="三文鱼">
      </td>
    </tr>
    <tr>
      <td>
        商品Id：<input type="text" name="productInfo[饮料].id" value="2">
      </td>
      <td>
        商品名称：<input type="text" name="productInfo['饮料'].name" value="可乐">
      </td>
    </tr>
  </table>
  <input type="submit" value="提交">
</form>

</body>
</html>
